<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>硬件信息-综述介绍</title>
		<#include "/WEB-INF/ftl/user/include.ftl" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/side.css" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/hardware_info.css" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/hardware_info_overview.css" />
	</head>
	<body>
		<#assign mainboard = Session.mainboard />
		<#assign id = mainboard.id?c />
		<#assign brand = mainboard.brand.brand />
		<#assign model = mainboard.model />
		<#include "/WEB-INF/ftl/user/header.ftl" />
		<div class="navigation">
			<a href="javascript:void(0);">首页</a>&nbsp;&gt;
			<a href="javascript:void(0);">主板</a>&nbsp;&gt;
			<a href="javascript:void(0);">${brand}主板</a>&nbsp;&gt;
			${model}
		</div>
		<div class="wrapper">
			<#include "/WEB-INF/ftl/user/side.ftl" />
			<h1 class="title">${model}</h1>
			<div class="tab">
				<a href="javascript:void(0);" class="selected">综述介绍</a>
				<a href="${base}/mainBoardParameter.do?id=${id}">参数</a>
				<a href="${base}/mainBoardPicture.do?id=${id}">图片</a>
				<a href="${base}/mainBoardUserComment.do?id=${id}">用户点评</a>
				<a href="javascript:void(0);">专家点评</a>
			</div>
			<div class="intro">
				<div class="pic">
					<div>
						<a href="javascript:void(0);">
							<img width="280" height="210" src="${base}/pic/default.jpg" alt="" />
						</a>
					</div>
				</div>
				<div class="content">
					<#assign price = mainboard.oPrice />
					<#assign sale = mainboard.sale />
					<#assign performance = mainboard.performance />
					<#assign architecture = mainboard.MBArchitect.value />
					<#assign chipset = mainboard.chipSet.value />
					<#assign cpuSeries = "" />
					<#list mainboard.cpuxlSet as series>
						<#assign cpuSeries = cpuSeries + series.cpuxl.value + " / " />
					</#list>
					<#assign cpuSeries = cpuSeries?substring(0, cpuSeries?length-2) />
					<#assign cpuSlot = mainboard.CPUSlot.name />
					<#assign memoryType = mainboard.compatibleMEM.value />
					<#assign memorySlot = mainboard.memSlot.name />
					<#if mainboard.soundCard?? && mainboard.networkAdapter??>
						<#assign integratedChip = "声卡 / 网卡" />
					<#elseif !(mainboard.soundCard??) && mainboard.networkAdapter??>
						<#assign integratedChip = "网卡" />
					<#elseif mainboard.soundCard?? && !(mainboard.networkAdapter??)>
						<#assign integratedChip = "声卡" />
					<#else>
						<#assign integratedChip = "无" />
					</#if>
					<ul>
						<li><span>产品价格：</span><span class="price">&yen;<b>${price}</b></span></li>
						<li><span>产品销量：</span>${sale}</li>
						<li><span>性能指数：</span>${performance}</li>
					</ul>
					<h3>概要参数</h3>
					<ul class="param">
						<li><span>主板板型：</span>${architecture}</li>
						<li><span>北桥芯片：</span>${chipset} </li>
						<li><span>CPU系列：</span>${cpuSeries}</li>
						<li><span>CPU插槽：</span>${cpuSlot}</li>
						<li><span>内存类型：</span>${memoryType}</li>
						<li><span>内存插槽：</span>${memorySlot}</li>
						<li><span>集成芯片：</span>${integratedChip}</li>
						<li><span>USB接口：</span></li>
						<li><span>SATA接口：</span></li>
						<li><span>PCI插槽：</span></li>
						<li><a href="${base}/mainBoardParameter.do?id=${id}" class="blue">查看详细参数&gt;&gt;</a></li>
					</ul>
					<h3>点评</h3>
					<#if newUserComment??>
					<div class="comment">
						<p class="score">
							<span>用户评分：</span>
							<#assign userScore = newUserComment.score />
							<#assign userStyle = "width:" + userScore + "%" />
							<span class="star"><span style="${userStyle}">&nbsp;</span></span>
							<span>${userScore}</span>
						</p>
						<p class="comment-item"><span>优点：</span>${newUserComment.good}</p>
						<p class="comment-item"><span>缺点：</span>${newUserComment.bad}</p>
						<p><a href="${base}/mainBoardUserComment.do?id=${id}" class="blue">查看全部点评&gt;&gt;</a></p>
					</div>
					</#if>
					<#if newExpertComment??>
					<div class="comment">
						<p class="score">
							<span>专家评分：</span>
							<#assign expertScore = newExpertComment.score />
							<#assign expertStyle = "width:" + expertScore + "%" />
							<span class="star"><span style="${expertStyle}">&nbsp;</span></span>
							<span>${expertScore}</span>
						</p>
						<p class="comment-item"><span>优点：</span>${newExpertComment.good}</p>
						<p class="comment-item"><span>缺点：</span>${newExpertComment.bad}</p>
						<p><a href="${base}/mainBoardExpertComment.do?id=${id}" class="blue">查看全部点评&gt;&gt;</a></p>
					</div>
					</#if>
				</div>
			</div>
			<h2 class="head scheme-hd">有关 ${model} 的热门攒机配置单</h2>
			<ul class="scheme-bd">
				<#list relatedSchemes as scheme>
				<li class="scheme-item">
					<#assign id = scheme.id?c />
					<#assign type = scheme.type.value />
					<#assign price = scheme.price />
					<#assign mainBoard = scheme.mainBoard.model />
					<#assign cpu = scheme.cpu.model />
					<#assign memory = scheme.memory.model />
					<#assign diskNum = scheme.diskNum />
					<#assign disk = scheme.disk.model />
					<#assign graphics = (scheme.graphics.model)!"无" />
					<#assign userScore = scheme.wscore />
					<#assign expertScore = scheme.zscore />
					<#assign date = (scheme.time)?date />
					<p class="head">
						<span class="type">${type}</span>
						<span class="price">&yen;<b>${price}</b></span>
					</p>
					<ul class="param">
						<li>
							<span>主板</span>
							${mainBoard}
						</li>
						<li>
							<span>CPU</span>
							<a href="javascript:void(0);" title="${cpu}">${cpu}</a>
						</li>
						<li>
							<span>内存</span>
							<a href="javascript:void(0);" title="${memory}">${memory}</a>
						</li>
						<li>
							<span>硬盘</span>
							<a href="javascript:void(0);" title="${diskNum}&nbsp;×&nbsp;${disk}">${diskNum}&nbsp;×&nbsp;${disk}</a>
						</li>
						<li>
							<span>显卡</span>
							<a href="javascript:void(0);" title="${graphics}">${graphics}</a>
						</li>
					</ul>
					<p class="comment">用户评分：${userScore}</p>
					<p class="comment">专家评分：${expertScore}</p>
					<p class="other">
						<span class="date">${date}</span>
						<a href="${base}/schemeDetail.do?id=${id}" class="blue">详细配置&gt;&gt;</a>
					</p>
				</li>
				</#list>
				<li class="justify-fix">&nbsp;</li>
			</ul>
			<div class="diy">
				<a href="javascript:void(0);" class="blue">用这款产品开始模拟攒机&gt;&gt;</a>
				<span>（月选用43022次）</span>
			</div>
		</div>
		<#include "/WEB-INF/ftl/user/footer.ftl" />
	</body>
</html>
